package com.glasses.service;

import com.alibaba.fastjson.JSONObject;
import com.glasses.orm.base.baseImp.BaseServiceInterface;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * Created by ashin on 2018/1/24.
 */
public interface OrderService extends BaseServiceInterface {

    JSONObject cancelOrder(Map map) throws Exception;

    JSONObject addOrder(Map map) throws Exception;

    JSONObject pay(Map map, HttpServletRequest request) throws Exception;

    JSONObject getOrderCountStatus(Map map) throws Exception;

    JSONObject getCommodityStatusCount(Map map) throws Exception;
}
